pub fn new_count_distinct(input_str: &str) -> usize {
    let elements: Vec<&str> = input_str.split(',').collect();
    let mut set = std::collections::HashSet::new();

    for element in elements {
        set.insert(element);
    }

    // get count of set
    return set.len() as usize;

}